package com.fmenu.system.domain;

import com.fmenu.common.annotation.Excel;
import com.fmenu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 配料对象 bns_accessory
 *
 * @author zhangrui
 * @date 2021-12-22
 */
public class BnsAccessory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 配料id
     */
    private Long accessoryId;

    /**
     * 菜品id
     */
    @Excel(name = "菜品id")
    private Long dishesId;

    /**
     * 配料名称
     */
    @Excel(name = "配料名称")
    private String accessoryName;

    /**
     * 配料类型
     */
    @Excel(name = "配料类型")
    private String accessoryType;

    /**
     * 配料数量
     */
    @Excel(name = "配料数量")
    private String accessoryNumber;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setAccessoryId(Long accessoryId) {
        this.accessoryId = accessoryId;
    }

    public Long getAccessoryId() {
        return accessoryId;
    }

    public void setDishesId(Long dishesId) {
        this.dishesId = dishesId;
    }

    public Long getDishesId() {
        return dishesId;
    }

    public void setAccessoryName(String accessoryName) {
        this.accessoryName = accessoryName;
    }

    public String getAccessoryName() {
        return accessoryName;
    }

    public void setAccessoryType(String accessoryType) {
        this.accessoryType = accessoryType;
    }

    public String getAccessoryType() {
        return accessoryType;
    }

    public void setAccessoryNumber(String accessoryNumber) {
        this.accessoryNumber = accessoryNumber;
    }

    public String getAccessoryNumber() {
        return accessoryNumber;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("accessoryId", getAccessoryId())
                .append("dishesId", getDishesId())
                .append("accessoryName", getAccessoryName())
                .append("accessoryType", getAccessoryType())
                .append("accessoryNumber", getAccessoryNumber())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
